Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Add scikit-learn dependency to pyproject.toml#78

Merged
JPXKQX merged 3 commits intoecmwf:developfrom
timothyas:bugfix/sklearn-dependency
Nov 14, 2024
Merged

Add scikit-learn dependency to pyproject.toml#78
JPXKQX merged 3 commits intoecmwf:developfrom
timothyas:bugfix/sklearn-dependency

Conversation

@timothyas
Copy link
Contributor

anemoi-graphs requires scikit-learn, e.g. in anemoi.graphs.utils:

from sklearn.neighbors import NearestNeighbors

but this package is not included in the pyproject.toml, so I got an ImportError right after installing anemoi-graphs. This very simple PR adds this dependency.

@FussyDuck
Copy link

FussyDuck commented Nov 13, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@mchantry mchantry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

@JPXKQX JPXKQX merged commit ef2839a into ecmwf:develop Nov 14, 2024
@timothyas
Copy link
Contributor Author

No problem! Thank you for opening all of this code up to the community!

@timothyas timothyas deleted the bugfix/sklearn-dependency branch November 14, 2024 17:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants